package com.java.design.pattern.decorator;

import java.math.BigDecimal;

/**
 *普通蛋糕的类
 * @author xin.ding
 * @date 2020/10/29 18:10
 */
public class BaseCake extends Cake {
    @Override
    public String getCakeMsg() {
        return "我是一个8英寸的蛋糕";
    }

    @Override
    public BigDecimal getPrice() {
        return new BigDecimal("68");
    }
}
